<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
	<modelVersion>4.0.0</modelVersion>
	<groupId>$PROJECT_NAME$</groupId>
	<artifactId>$PROJECT_NAME$</artifactId>
	<version>0.0.1-SNAPSHOT</version>
	<packaging>war</packaging>

	<properties>
		<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
		<gwt.version>2.5.0</gwt.version>
		<gwt.maven.plugin.version>2.5.0</gwt.maven.plugin.version>
		<maven.surefire.plugin.version>2.12.4</maven.surefire.plugin.version>
	</properties>
	
	<build>
		<finalName>$PROJECT_NAME$</finalName>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.5.1</version>
				<configuration>
					<source>1.6</source>
					<target>1.6</target>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-war-plugin</artifactId>
				<version>2.2</version>
				<configuration>
					<packagingExcludes>
						**/*.log,
						**/*.gwt.xml,
						.gwt-tmp/**,
						WEB-INF/classes/**/client/**,
						**/*.gwt.xml
					</packagingExcludes>
				</configuration>
			</plugin>

			<plugin>
				<groupId>org.codehaus.mojo</groupId>
				<artifactId>gwt-maven-plugin</artifactId>
				<version>\${gwt.maven.plugin.version}</version>
				<configuration>
					<excludes>
						<exclude>**/.svn</exclude>
					</excludes>
					<copyWebapp>true</copyWebapp>
					<webappDirectory>src/main/webapp</webappDirectory>
				</configuration>
				<executions>
					<execution>
						<configuration>
							<module>$PACKAGE_NAME$.$PROJECT_NAME_CLASS_NAME_COMPATIBLE$</module>
							<extraJvmArgs>-Xms1g -XX:MaxPermSize=512m -Xmx2g -Xss2m</extraJvmArgs>
						</configuration>
						<goals>
							<goal>compile</goal>
						</goals>
					</execution>
				</executions>
			</plugin>
		</plugins>
		<resources>
			<resource>
				<filtering>false</filtering>
				<directory>${basedir}/src/main/java</directory>
				<includes>
					<include>**/*.xls</include>
					<include>**/*.gif</include>
					<include>**/*.png</include>
					<include>**/*.TIF</include>
					<include>**/*.xsd</include>
					<include>**/*.xml</include>
					<include>**/*.properties</include>
					<include>**/*.wsdl</include>
					<include>**/*.css</include>
					<include>**/*.java</include>
					<include>**/*.gwt.xml</include>
					<include>**/*.ui.xml</include>
				</includes>
			</resource>
		</resources>
	</build>

	<dependencies>
		<dependency>
			<groupId>com.google.gwt</groupId>
			<artifactId>gwt-dev</artifactId>
			<version>\${gwt.version}</version>
			<type>jar</type>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.google.gwt</groupId>
			<artifactId>gwt-user</artifactId>
			<version>\${gwt.version}</version>
			<type>jar</type>
			<scope>provided</scope>
		</dependency>
		<dependency>
			<groupId>com.google.gwt</groupId>
			<artifactId>gwt-servlet</artifactId>
			<version>\${gwt.version}</version>
			<type>jar</type>
			<scope>runtime</scope>
		</dependency>
		<dependency>
			<groupId>javax.validation</groupId>
			<artifactId>validation-api</artifactId>
			<version>1.0.0.GA</version>
		</dependency>
		<dependency>
			<groupId>javax.validation</groupId>
			<artifactId>validation-api</artifactId>
			<version>1.0.0.GA</version>
			<classifier>sources</classifier>
		</dependency>
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
			<version>4.8.1</version>
			<scope>test</scope>
		</dependency>
	</dependencies>
</project>